home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / graphics / mountainview / gui.h < prev    next >
C/C++ Source or Header  |  1999-04-28  |  1KB  |  55 lines

  1. /*========================================================================*\
  2.  |  File: gui.h                                        Date: 23 Jan 1999  |
  3.  *------------------------------------------------------------------------*
  4.  |      Creates windows and requesters, all this stuff that requires      |
  5.  |  filling in huge structs and arrays. Doesn't do any input processing,  |
  6.  |               except for some requester-like functions.                |
  7.  |                                                                        |
  8. \*========================================================================*/
  9.  
  10.  
  11. #include <intuition/intuition.h>
  12.  
  13. /* Menu item IDs. */
  14. enum {
  15.     IDM_NEW,
  16.     IDM_BORDER,
  17.     IDM_AUTODRAW,
  18.     IDM_DRAW,
  19.     IDM_ABORT,
  20.     IDM_QUIT,
  21.     IDM_MAX,
  22.     IDM_CENTER,
  23.     IDM_ZOOM
  24.     };
  25.  
  26. /* Gadget IDs. */
  27. enum {
  28.     IDC_NONE = 100,
  29.     IDC_HEIGHT,
  30.     IDC_ROTATION,
  31.     IDC_STOP_GO
  32.     };
  33.  
  34. /* Table of pens for the colors on our map. */
  35. extern LONG laPens[ 32 ];
  36.  
  37. extern struct Window  *pwinMain;
  38. extern struct Gadget    gadRise;
  39. extern struct Gadget    gadSpin;
  40. extern struct PropInfo   piRise;
  41. extern struct PropInfo   piSpin;
  42.  
  43. extern BOOL fGTV39;
  44. extern BOOL fIntV39;
  45. extern BOOL fGfxV39;
  46.  
  47. BOOL StartMeUp();
  48. VOID GetMeOutOfHere();
  49. BOOL BuildGui();
  50. VOID DestroyGui();
  51. VOID DisableMainWindow( BOOL fReally );
  52. VOID SnoozeMainWindow( BOOL fReally );
  53. BOOL StringRequest( STRPTR strHail, STRPTR strBuf, WORD wSize );
  54.  
  55.